using System;
using System.Collections.Generic;
using ns26;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("MeshAnimation")]
	public class MeshAnimation : MonoBehaviour
	{
		public List<Mesh> Meshes => method_3<Class251<Mesh>>("Meshes")?.method_25();

		public bool Loop => method_2<bool>("Loop");

		public float FrameDuration => method_2<float>("FrameDuration");

		public int m_Index => method_2<int>("m_Index");

		public bool m_Playing => method_2<bool>("m_Playing");

		public float m_FrameTime => method_2<float>("m_FrameTime");

		public MeshAnimation(IntPtr address, string className)
			: base(address, className)
		{
		}

		public MeshAnimation(IntPtr address)
			: this(address, "MeshAnimation")
		{
		}

		public void Start()
		{
			method_8("Start");
		}

		public void Update()
		{
			method_8("Update");
		}

		public void Play()
		{
			method_8("Play");
		}

		public void Stop()
		{
			method_8("Stop");
		}

		public void Reset()
		{
			method_8("Reset");
		}
	}
}
